package cn.edu.hy.demo03.dao;

import java.util.List;

import cn.edu.hy.demo03.model.User;
import org.springframework.stereotype.Repository;


@Repository
public class UserDaoImpl implements UserDao {

	@Override
	public int addUser(User user) {
		System.out.println("add user");
		return 0;
	}

	@Override
	public int updateUser(User user) {
		System.out.println("updateUser");
		return 0;
	}

	@Override
	public int deleteUser(String userNo) {
		System.out.println("deleteUser"+userNo);
		return 0;
	}

	@Override
	public User findUser(String userNo) {
		System.out.println("findUser"+userNo);
		return new User();
	}

	@Override
	public List<User> findUserList(User user) {
		System.out.println("findUserList");
		return null;

	}

}
